package Tests;

import static org.junit.Assert.assertEquals;

import org.junit.Test;

import Entities.Entity;
import InstanceHandling.Dungeon;
import InstanceHandling.Instance;

public class ADungeonShould {

	Dungeon dungeon = new Dungeon();
	@Test
	public void containAListOfInstances() {
		

		String result = "";
		String instance = "";
		for (Instance i : Dungeon.instances) {
			for (Entity b : i.getBossmobs()) {
				if (b.getName().equals("Haugbui Jarl")) {
					result = b.getName();
					instance = i.getName();
				}
			}
		}
		assertEquals("Haugbui Jarl", result);
		assertEquals("Polaris", instance);
		
	}

}
